<#include "/macro_.ftl">
<${r"#"}include "insert.ftl">
on conflict (
<${r"#"}assign prefixName = true>
<#list entityMapper.fieldMapperMap?values as fieldMapper>
<${r"#"}if (index_${fieldMapper.code}??)>
${r"${prefixName?string('', ', ')}"}"${fieldMapper.columnName}"
<${r"#"}assign prefixName = false>
</${r"#"}if>
</#list>
) do nothing